package com.example.springboothello.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author : P2M.liup
 * @version : 2.9.6
 * @copyright : Sysware Technology Co., Ltd
 * @date : 2018/9/14 15:09
 */
@RestController
public class HelloWroldController {
    /**
     * bean_name
     */
    public static final String BEAN_NAME = "HelloWroldController";
    /**
     * log4j
     */
    private static Logger logger = LoggerFactory.getLogger(HelloWroldController.class);

    @RequestMapping("/hello")
    public String index() {
        return "Hello World";
    }
}
